mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Merge pull request #13421 from philwyett-hemi/rpm_dev
Multiple fixes for RPM and in docs RPM distros.
This commit is contained in:
@@ -53,7 +53,7 @@ Atom is only available for 64-bit Linux systems.
|
||||
The Linux version does not currently automatically update so you will need to
|
||||
repeat these steps to upgrade to future releases.
|
||||
|
||||
### Red Hat Linux (Fedora 21 and under, CentOS, Red Hat)
|
||||
### Red Hat Enterprise Linux (RHEL) / CentOS
|
||||
|
||||
Atom is only available for 64-bit Linux systems.
|
||||
|
||||
@@ -64,12 +64,12 @@ Atom is only available for 64-bit Linux systems.
|
||||
The Linux version does not currently automatically update so you will need to
|
||||
repeat these steps to upgrade to future releases.
|
||||
|
||||
### Fedora 22+
|
||||
### Fedora
|
||||
|
||||
Atom is only available for 64-bit Linux systems.
|
||||
|
||||
1. Download `atom.x86_64.rpm` from the [Atom releases page](https://github.com/atom/atom/releases/latest).
|
||||
2. Run `sudo dnf install ./atom.x86_64.rpm` on the downloaded package.
|
||||
2. Run `sudo dnf install atom.x86_64.rpm` on the downloaded package.
|
||||
3. Launch Atom using the installed `atom` command.
|
||||
|
||||
The Linux version does not currently automatically update so you will need to
|
||||
|
||||
@@ -49,9 +49,13 @@ To also install the newly built application, use `--create-debian-package` or `-
|
||||
sudo update-alternatives --config gcc # choose gcc-5 from the list
|
||||
```
|
||||
|
||||
### Fedora / CentOS / RHEL
|
||||
### Fedora
|
||||
|
||||
* `sudo dnf --assumeyes install make gcc gcc-c++ glibc-devel git-core libgnome-keyring-devel rpmdevtools libX11-devel libxkbfile-devel`
|
||||
* `sudo dnf install make gcc gcc-c++ glibc-devel git-core libgnome-keyring-devel rpmdevtools libX11-devel libxkbfile-devel`
|
||||
|
||||
### RHEL / CentOS
|
||||
|
||||
* `sudo yum install make gcc gcc-c++ glibc-devel git-core libgnome-keyring-devel rpmdevtools libX11-devel libxkbfile-devel`
|
||||
|
||||
### Arch
|
||||
|
||||
|
||||
@@ -7,7 +7,12 @@ URL: https://atom.io/
|
||||
AutoReqProv: no # Avoid libchromiumcontent.so missing dependency
|
||||
Prefix: <%= installDir %>
|
||||
|
||||
Requires: lsb-core-noarch, libXss.so.1
|
||||
Requires: lsb-core-noarch
|
||||
%if 0%{?fedora} || 0%{?rhel}
|
||||
Requires: libXScrnSaver
|
||||
%else
|
||||
Requires: libXss1
|
||||
%endif
|
||||
|
||||
%description
|
||||
<%= description %>
|
||||
|
||||
Reference in New Issue
Block a user