在 Ubuntu 19.10 中安装GParted时,它会安装旧版本的0.32.0-2
.
$ sudo apt-get install gparted
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
xfsprogs reiserfsprogs reiser4progs jfsutils kpartx dmraid gpart udftools
The following NEW packages will be installed:
gparted
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/482 kB of archives.
After this operation, 2,245 kB of additional disk space will be used.
Selecting previously unselected package gparted.
(Reading database ... 212957 files and directories currently installed.)
Preparing to unpack .../gparted_ ===> 0.32.0-2 <=== _amd64.deb ...
Unpacking gparted (0.32.0-2) ...
Setting up gparted (0.32.0-2) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
Processing triggers for mime-support (3.63ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.8.7-3) ...
如何安装最新的一个,1.1.0-5
或者,至少任何版本高于1?首选命令行解决方案(我的意思是 apt-get 或 Snap)。
谢谢你!
您可能真的想先看看卡片是否有问题,等等,但与此同时,如果您真的需要最新版本,请看这里:
tar.gz
从https://sourceforge.net/projects/gparted/files/gparted/gparted-1.1.0/下载文件
提取文件
tar zxvf gparted-1.1.0.tar.gz
安装所需的先决条件
sudo apt build-dep gparted
sudo apt install libgtkmm-3.0-dev itstool build-essential
转到 gparted 文件夹
cd gparted-1.1.0/
现在运行configure
,make
和make install
:
./configure --prefix=/usr
make
sudo make install
现在 gparted 应该显示最新版本:
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句