centos install shutter (How to enable Nux Dextop repository on CentOS or RHEL)

來源:互聯網
上載者:User

標籤:

http://ask.xmodulo.com/enable-nux-dextop-repository-centos-rhel.html

 

 

Question: I would like to install a RPM package which is available only in Nux Dextop repository. How can I set up Nux Dextop repository on CentOS or RHEL?

Nux Dextop is a third-party RPM repository which contains many popular desktop and multimedia related packages (e.g., Ardour, Shutter, etc) for CentOS, RHEL and ScientificLinux. Currently, Nux Dextop repository is available for CentOS/RHEL 6 and 7.

To enable Nux Dextop repository on CentOS or RHEL, follow the instructions below.

First of all, understand that Nux Dextop is designed to coexist with EPEL repository. So you need to enable EPEL in order to use Nux Dextop repo.

After enabling EPEL, go ahead and install Nux Dextop repository as follows.

As the first step, import the official GPG key of Nux Dextop repository:

$ sudo rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

Without GPG key import, you will get the following warning while installing Nux Dextop.

warning: /var/tmp/rpm-tmp.y4VqPB: Header V4 RSA/SHA1 Signature, key ID 85c6cd8a: NOKEY

Then go ahead and install Nux Dextop with yum command as follows. Note that Nux Dextop repository comes as an architecture in-dependent RPM, so you can install the same RPM on both 32-bit and 64-bit architectures.

On CentOS/RHEL 6.*:

$ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

On CentOS/RHEL 7:

$ sudo rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

Now verify that Nux Dextop repository is successfully installed:

$ yum repolist

For Repoforge/RPMforge Users

According to the author, Nux Dextop is known to cause conflicts with other third-party RPM repos such as Repoforge and ATrpms. Therefore, if you enabled any third-party repos other than EPEL, it is highly recommend you set Nux Dextop repository to "default off" state. That is, open /etc/yum.repos.d/nux-dextop.repo with a text editor, and change "enabled=1" to "enabled=0" under nux-desktop.

$ sudo vi /etc/yum.repos.d/nux-dextop.repo

Then whenever you want to install a package from Nux Dextop repo, explicitly enable the repo as follows.

$ sudo yum --enablerepo=nux-dextop install <package-name> 

問題:我想要在我的CentOS案頭上試試Shutter螢幕程式,但是,當我試著用yum來安裝Shutter時,它總是告訴我“沒有shutter包可用”。我怎樣才能在CentOS上安裝Shutter啊?

Shutter是 一個用於Linux案頭的開源(GPLv3)螢幕工具。它打包有大量方便使用的功能,這讓它成為Linux中功能最強大的螢幕程式之一。你可以用 Shutter來捕捉一個規則地區、一個視窗、整個案頭螢幕、或者甚至是來自任意專用地址的一個網頁的。除此之外,你也可以用它內建的影像編輯器來對 捕獲的進行編輯,應用不同的效果,將映像匯出為不同的映像格式(svg,pdf,ps),或者上傳圖片到公用映像主機或者FTP網站。

Shutter 在 CentOS (截止至版本 7)上沒有預先構建好的軟體包。幸運的是,有一個第三方提供的叫做 Nux Dextop 的 RPM 中提供了 Shutter 軟體包。 所以在 CentOS 上啟用 Nux Dextop 軟體庫,然後使用下列命令來安裝它:

  1. $ sudo yum --enablerepo=nux-dextop install shutter

centos install shutter (How to enable Nux Dextop repository on CentOS or RHEL)

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.