Update distro specific package installation instructions

- Back in Fedora 22 the distribution switched from using yum to dnf for
  package installation, while CentOS / RHEL continues to use yum.
  Separate out package instructions.

- Update package dependencies for what is required on current versions
  of the documented distributions.
This commit is contained in:
Mike Fleetwood 2019-03-31 11:12:47 +01:00 committed by Curtis Gedak
parent 56596d680a
commit 23f956bb83
1 changed files with 25 additions and 17 deletions

42
README
View File

@ -55,14 +55,19 @@ a. Pre-built Binary
package for GParted. Instructions on how to install GParted on package for GParted. Instructions on how to install GParted on
some distributions is given below: some distributions is given below:
CentOS/RHEL
-----------
su -
yum install gparted
Debian or Ubuntu Debian or Ubuntu
---------------- ----------------
sudo apt-get install gparted sudo apt-get install gparted
Fedora or CentOS/RHEL Fedora
--------------------- ------
su - su -
yum install gparted dnf install gparted
OpenSUSE OpenSUSE
-------- --------
@ -83,34 +88,37 @@ b. Building from Source
The following dependencies are required to build GParted from source: The following dependencies are required to build GParted from source:
g++ g++
e2fsprogs make
parted parted
gnome-common gnome-common
gtkmm3 gtkmm3
gettext gettext
intltool
yelp-tools - required if help documentation is to be built yelp-tools - required if help documentation is to be built
On CentOS/RHEL, these dependencies may be obtained by running the
following command as root:
yum install gnome-common yelp-tools glib2-devel intltool gcc-c++ \
libuuid-devel parted-devel gtkmm30-devel make
On Debian or Ubuntu, these dependencies may be obtained by running On Debian or Ubuntu, these dependencies may be obtained by running
one of the following commands: one of the following commands:
Either; Either;
sudo apt-get build-dep gparted sudo apt-get build-dep gparted
Or; Or;
sudo apt-get install build-essential e2fsprogs uuid uuid-dev \ sudo apt-get install build-essential gnome-common yelp-tools \
gnome-common libparted-dev libgtkmm-3.0-dev \ libglib2.0-dev uuid-dev libparted-dev \
libdevmapper-dev yelp-tools docbook-xml libgtkmm-3.0-dev
On Fedora, you will need to run (as root); On Fedora, these dependencies may be obtained by running the
yum install gtkmm30-devel parted-devel e2fsprogs-devel gettext \ following command as root:
'perl(XML::Parser)' desktop-file-utils libuuid-devel \ dnf install gnome-common yelp-tools glib2-devel intltool gcc-c++ \
yelp-tools docbook-dtds intltool gnome-common gcc-c++ parted-devel gtkmm30-devel make
yum groupinstall 'Development Tools'
On openSUSE, these dependencies may be obtained by running the On openSUSE, these dependencies may be obtained by running the
following commands; following commands:
sudo zypper install automake autoconf make gnome-common \ sudo zypper install gnome-common gcc-c++ libuuid-devel \
libuuid-devel parted-devel gtkmm3-devel \ parted-devel gtkmm3-devel make
yelp-tools docbook-xsl-stylesheets
sudo zypper install -t pattern devel_c_c++
Again, build GParted with the default configuration and install into Again, build GParted with the default configuration and install into
the default location of /usr/local using: the default location of /usr/local using: