mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
Merge branch 'master' into 'master'
installing software/package management I had some personal issues, so I could only complete the Fedora text (line 21 in the table) now. However while the text is compete, I am unable to build it properly. The text includes images (icons). I have placed the images in the images directory as I would expect. But I do not seem able to set the directory for images. Where should I set the directory for images? I am also unable to set the assignee in gitlab. In the meantime please feel free to review the text @amelicha @eheftman See merge request !27
This commit is contained in:
commit
822311152e
8 changed files with 142 additions and 0 deletions
19
en-US/finding-installing-applications.adoc
Normal file
19
en-US/finding-installing-applications.adoc
Normal file
|
@ -0,0 +1,19 @@
|
|||
= Finding and installing Linux applications
|
||||
[[finding-installing-applications]]
|
||||
|
||||
:md: ./modules
|
||||
:imagesdir: ./images
|
||||
|
||||
Many powerful software applications are available on the Linux operating system. You can find alternatives to most of the popular applications used on other systems.
|
||||
|
||||
You can use the Fedora package management system to install applications. Many applications are available from the repository provided by the Fedora project. You can enable other repositories to get additional applications.
|
||||
|
||||
include::{md}/con_package-management-in-fedora.adoc[leveloffset=+1]
|
||||
|
||||
include::{md}/proc_package-searching-web-apps.adoc[leveloffset=+1]
|
||||
|
||||
include::{md}/proc_package-browsing-installing-software.adoc[leveloffset=+1]
|
||||
|
||||
include::{md}/proc_package-install-command-line.adoc[leveloffset=+1]
|
||||
|
||||
include::{md}/proc_package-enabling-third-party.adoc[leveloffset=+1]
|
BIN
en-US/images/packages_icon_search.png
Normal file
BIN
en-US/images/packages_icon_search.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 873 B |
BIN
en-US/images/packages_icon_software.png
Normal file
BIN
en-US/images/packages_icon_software.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
35
en-US/modules/con_package-management-in-fedora.adoc
Normal file
35
en-US/modules/con_package-management-in-fedora.adoc
Normal file
|
@ -0,0 +1,35 @@
|
|||
= Package management in Fedora
|
||||
[[package-management-in-fedora]]
|
||||
Like most modern Linux distributions, Fedora uses a _package management_ system. Package management tools automate installation, upgrading, and removing of software applications and components.
|
||||
|
||||
Each application or component is defined as a _package_. When the package is installed, all code, configuration, and other files are deployed on the system.
|
||||
|
||||
IMPORTANT: A single package is not necessarily the same as an application. Some applications can be shipped as several packages. Moreover, shared code (libraries) in Linux is normally shipped as separate packages, while in other systems applications often ship their own versions of required libraries and install them if necessary.
|
||||
|
||||
The package management tools track which files on your Fedora installation belong to each package; normally, every file that is installed in the `/usr` tree as well as most configuration files under `/etc` are installed by one of the packages. When installing a package, the package management system verifies its integrity; if any files are missing or corrupted, the package is not installed.
|
||||
|
||||
The package management system also tracks all _dependencies_ between the packages. For example, if an application requires some libraries, the package for this application lists the libraries as dependencies. When you install the application package, the package management tools automatically install the library packages. If a dependency is not available, the tools do not install the package, so you can avoid a sudden malfunction.
|
||||
|
||||
When you want to remove a package, package management tools cleanly delete all code files for this package without affecting other packages. By default, configuration files are not removed, so you can install the package again and keep the configuration that you have set up earlier.
|
||||
|
||||
Updating any package is entirely automatic with the package management system. The system replaces all the necessary code files and preserves existing configuration.
|
||||
|
||||
In fact, for most Linux distributions, including Fedora, all of the system installation except the earliest part is performed by installing various packages. Security updates and upgrades to a next release are performed entirely by package management tools.
|
||||
|
||||
Fedora's package management system uses the http://rpm.org[RPM] package format. The application that manages packages in Fedora (since version 22) is https://fedoraproject.org/wiki/DNF[DNF]. Graphical package management is provided by the Gnome Software utility. For automatic updates, Fedora uses the PackageKit utility. Command-line and graphical tools provide the same results.
|
||||
|
||||
To get packages, DNF uses _repositories_. A repository is an organized collection of packages. Repositories can be kept on any data media; notably, the Fedora installation image contains a repository. However, most up-to-date repositories are normally maintained online.
|
||||
|
||||
Each Fedora release has an official _fedora_ repository and an _updates_ repository (which contains critical updates since the release). In these repositories, you can find most common Linux open-source software. You can also install packages from other repositories, not maintained by the Fedora project and known as _third-party repositories_.
|
||||
|
||||
Most of the time, it is best practice to install software on your Fedora Linux system using only the Fedora package management system. In this case, packages are installed in the most reliable way and automatic updates can be provided.
|
||||
|
||||
While many Linux applications can be built and installed from from source code, using such builds can make your system much harder to manage. For example, automatic updates to system packages (especially when updating to the next release) might impact an application that was installed from source. And, of course, no automatic security updates are available for the application.
|
||||
|
||||
Sometimes you might need to install software using other package management systems. Notably:
|
||||
|
||||
* https://www.cpan.org/[CPAN] for libraries for the Perl language
|
||||
* https://pypi.python.org/pypi[PyPI] for libraries (and sometimes applications) for the Python language
|
||||
* Commercial repositories for games
|
||||
|
||||
However, installing applications using the Fedora package management systems is the preferred option.
|
18
en-US/modules/proc_package-browsing-installing-software.adoc
Normal file
18
en-US/modules/proc_package-browsing-installing-software.adoc
Normal file
|
@ -0,0 +1,18 @@
|
|||
= Browsing and installing software on Fedora
|
||||
[[package-browsing-installing]]
|
||||
|
||||
You can use a graphical utility to browse the available software packages. When you find the software that you want, you can use the utility to install it on your Fedora system.
|
||||
|
||||
.Before you start
|
||||
|
||||
To install any packages on your Fedora system, you need to have the root password.
|
||||
|
||||
.Procedure
|
||||
|
||||
. On your GNOME desktop, select the *Activities* menu and then click the image:packages_icon_software.png[Software] icon.
|
||||
. Find a software package in one of the following ways:
|
||||
** Click one of the suggested categories, for example, *Productivity*. Then review the suggested packages. To see more packages, select items in the menu in the left-hand part of the window. For example, for the Productivity category, you can select *Calendar*, *Database*, *Finance*, *Word Processor*.
|
||||
** Choose one of the *Editor's Picks* or other recommended software in the window.
|
||||
** Click the image:packages_icon_search.png[Search] icon, then enter a keyword or the name of the application. Review the suggested packages.
|
||||
. Click a package to read its description.
|
||||
. To install the package, click the *Install* button. When prompted, provide the root password.
|
21
en-US/modules/proc_package-enabling-third-party.adoc
Normal file
21
en-US/modules/proc_package-enabling-third-party.adoc
Normal file
|
@ -0,0 +1,21 @@
|
|||
= Enabling third-party repositories
|
||||
[[package-enabling-third-party]]
|
||||
|
||||
You can install software packages from repositories that are not supported by the Fedora project, known as third-party repositories.
|
||||
|
||||
The most commonly used third-party repository is https://rpmfusion.org/[RPM Fusion]. It provides packages that can not be included in Fedora because of US software patents or other similar reasons. Among other things, RPM Fusion provides packages necessary for viewing media in many common formats. RPM Fusion packages are extensively tested, but they are not supported by the Fedora project.
|
||||
|
||||
A set of repositories for Fedora is known as https://copr.fedorainfracloud.org/[Copr]. Developers can provide packages in Copr repositories for software that is not at present included in Fedora. *These packages might be untested.*
|
||||
|
||||
Certain non-free applications for Linux, such as Google Chrome or Skype, provide their own repositories for Fedora.
|
||||
|
||||
To install software from a third-party repository, you must first _enable_ that repository. Then the packages from the repository become available in the command line and graphical package management tools.
|
||||
|
||||
IMPORTANT: If you enable a third-party repository, packages that you did not explicitly select might also be installed from the repository. Do not enable repositories that you do not trust. The Fedora project does not support third-party repositories.
|
||||
|
||||
.Procedure
|
||||
|
||||
To enable a third-party repository, follow the instructions provided by the repository. For example:
|
||||
|
||||
* For RPM Fusion, https://rpmfusion.org/Configuration
|
||||
* For Copr repositories, https://docs.pagure.org/copr.copr/how_to_enable_repo.html
|
30
en-US/modules/proc_package-install-command-line.adoc
Normal file
30
en-US/modules/proc_package-install-command-line.adoc
Normal file
|
@ -0,0 +1,30 @@
|
|||
= Installing software packages using the command line
|
||||
|
||||
[[proc_package-install-command-line]]
|
||||
|
||||
You can install packages in Fedora using the DNF utility.
|
||||
|
||||
.Before you begin
|
||||
|
||||
You must execute the command with root privileges. Use one of the following methods:
|
||||
|
||||
* Prefix the command with `sudo` and provide the root password. The `sudo` command must be enabled for the user.
|
||||
* Use the `su` command and provide the root password to switch to a root prompt in a terminal window.
|
||||
* Log in as `root` on a virtual console.
|
||||
|
||||
You must know the name of the package. Any dependencies will be installed automatically.
|
||||
|
||||
.Procedure
|
||||
|
||||
. Run the command:
|
||||
+
|
||||
----
|
||||
dnf install <packagename>
|
||||
----
|
||||
+
|
||||
where `<packagename>` is the name of the package.
|
||||
. Answer `y` to any prompts, if necessary.
|
||||
|
||||
.More information
|
||||
|
||||
For other commands that the DNF utility support, see the documentation for https://fedoraproject.org/wiki/DNF[DNF].
|
19
en-US/modules/proc_package-searching-web-apps.adoc
Normal file
19
en-US/modules/proc_package-searching-web-apps.adoc
Normal file
|
@ -0,0 +1,19 @@
|
|||
= Searching for Linux software alternatives on the Web
|
||||
[[package-searching-web]]
|
||||
|
||||
To complete your tasks on a Linux system, you need to find the software applications that fit your needs. If you are switching from another operating system, you might need to find replacements for the software that you used before.
|
||||
|
||||
Most applications available on Linux are open-source software. You can use open-source software without acquiring any licenses. Moreover, widespread open-source software is usually available in the official Fedora repository, so you can install it easily.
|
||||
|
||||
.Procedure
|
||||
|
||||
Access the following websites to review Linux alternatives to popular software packages:
|
||||
|
||||
* https://linuxappfinder.com/alternatives
|
||||
* http://www.linuxalt.com/
|
||||
* https://opensource.com/alternatives
|
||||
* https://www.osalt.com/
|
||||
* https://alternativeto.net/
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue