Skip to content

Entries tagged "el6".

Scientific Linux 6 released

Wow, nice, Scientific Linux 6 is released. Details here.
I'm downloading the DVD right now (thank you Virginmedia for capping me to 2 Mbps, arseholes).

Allow the local user to install and update software without root password

This tutorial is for EL6 and possibly Fedora (12, 13, 14 etc); not sure if it will work on other distros.

For my personal laptop or even work station I don't see a reason to require the root password to install or update programs from trusted sources (i.e. repos from which we imported the gpg keys). In order to allow the regular user to perform such actions we use PolicyKit. As such we need to write 2 new pkla (PolicyKit Local Authority) files:
vi /var/lib/polkit-1/localauthority/50-local.d/10-pkgkit-pkginstall-policy.pkla

and copy/paste the following:
[Let All Install Packages]
Identity=unix-user:*
Action=org.freedesktop.packagekit.package-install
ResultAny=no
ResultInactive=no
ResultActive=yes

This will allow all users to install new programs either by using pkcon or its graphical counterpart gpk-application.
In order to update packages we need to write a new pkla:
vi /var/lib/polkit-1/localauthority/50-local.d/10-pkgkit-pkgupdate-policy.pkla

and copy/paste:
[Let All Update Packages]
Identity=unix-user:*
Action=org.freedesktop.packagekit.system-update
ResultAny=no
ResultInactive=no
ResultActive=yes

That's about it. Now you can use pkcon install blah or pkcon update as a normal user. Alternatively you can use "System > Administration > Add/Remove software" or "System > Administration > Software update".

Enjoy!

Install Skype in EL6 (RHEL 6/ Scientificlinux 6/ Centos 6)

I used to have here some instructions on how to get skype installed from official RPM, then overwrite the binary with a static one to get it to work etc etc - quite a PITA. Now you can just install an RPM[1] to get the same result; so, if you have my repo installed (nux-dextop) just do:
yum install skype
If you do not have my repo installed:
wget http://li.nux.ro/download/nux/dextop/el6/x86_64/skype-2.2.0.35-3.el6.nux.i586.rpm
yum localinstall --nogpgcheck ./skype-2.2.0.35-3.el6.nux.i586.rpm
All of the above needs to be done as root, obviously.
You may want to browse http://li.nux.ro/download/nux/dextop/el6/x86_64 for newer skype rpms; who knows what will happen next to the linux client. It has always sucked in one way or another, I can't see it improving now that Microsoft has bought them.
If you run intro problems with this RPM let me know at rpm at li.nux.ro ! Thanks.


[1] - Thanks Russian Fedora repo, it's their package actually!

Cheerio!

Transmission bittorrent client for EL6

As it turns out there's no graphical bittorrent client in EL6, therefore a quick copy/paste tip so you don't end up butchering your favourite OS like this guy (though he was trying to achieve smth a tad different):
wget ftp://ftp.lug.ro/fedora/linux/releases/14/Everything/x86_64/os/Packages/transmission-common-2.04-2.fc14.1.x86_64.rpm ftp://ftp.lug.ro/fedora/linux/releases/14/Everything/x86_64/os/Packages/transmission-gtk-2.04-2.fc14.1.x86_64.rpm
yum localinstall --nogpgcheck transmission-common-2.04-2.fc14.1.x86_64.rpm transmission-gtk-2.04-2.fc14.1.x86_64.rpm

Modify the paths accordingly if you're on 32 bit arch.

Enjoy! ;-)

Install LabPlot on EL6

Installing LabPlot on EL6 can be a bit daunting as compiling from source can be problematic due to odd dependency issues, however the packages from Fedora 14 install and work just fine, provided you have EPEL enabled:
mkdir /tmp/labplot; cd /tmp/labplot
wget http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/x86_64/os/Packages/LabPlot-1.6.0.2-8.fc12.x86_64.rpm http://download.fedora.redhat.com/pub/fedora/linux/releases/14/Everything/x86_64/os/Packages/LabPlot-doc-1.6.0.2-8.fc12.x86_64.rpm 
yum localinstall --nogpgcheck ./LabPlot-*

And voila!
As I said this operation requires the EPEL repo enabled for some packages (electronics-menu and liborigin) so make sure your system has it.

Libreoffice repo for EL6

For those people who wanted to use Libreoffice on their EL6 workstations there weren't many options; basically you had to download a tarball from libreoffice.org and `rpm -ivh` the contained rpms manually - not the best way to have it installed and relatively painful to keep up to date.

But no more - I've been backporting Libreoffice for a while now from Fedora and you're free to use it!
Also, recently I noticed there are RHEL conditionals in the spec files. For those unfamiliar with RPM building this means Redhat is probably getting ready to include Libreoffice in their enterprise distro.

I don't know when we'll see Libreoffice in EL 6 officially but I know it won't be in v6.3. Until then you can use my repo - it should gracefully upgrade existing stock openoffice.org installations:

To install do the following as root:

rpm -ivh http://li.nux.ro/download/nux/libreoffice/el6/i386/nux-libreoffice-release-0-1.el6.nux.noarch.rpm
yum install libreoffice

To upgrade from stock openoffice.org:

rpm -ivh http://li.nux.ro/download/nux/libreoffice/el6/i386/nux-libreoffice-release-0-1.el6.nux.noarch.rpm
yum update

To replace Libreoffice installed from the official libreoffice.org rpms:

yum remove libreoffice\* libobasis\*
rpm -ivh http://li.nux.ro/download/nux/libreoffice/el6/i386/nux-libreoffice-release-0-1.el6.nux.noarch.rpm
yum install libreoffice

If you run into issues feel free to leave a comment or drop me a line: rpm @ li.nux.ro

EL6 deps for Oracle11g

The pile of shit called Oracle data base (11g) needs a crapload of deps. This is for 64 bit OS:
yum install libgcc.i686 nss-softokn-freebl.i686 glibc.i686 libaio.i686 libstdc++.i686 ncurses-libs.i686 readline.i686 libICE.i686 libtool-ltdl.i686 libSM.i686 libuuid.i686 unixODBC.i686 libXau.i686 libX11.i686 libxcb.i686 libXext.i686 libXi.i686 compat-libstdc++-33.i686 libXt.i686 libXtst.i686 libaio-devel.i686 unixODBC-devel.i686 glibc-devel.i686 kernel-headers libstdc++-devel elfutils-libelf-devel mpfr libXmu libXxf86misc glibc-headers libXxf86vm xorg-x11-xauth cpp libtool-ltdl unixODBC cloog-ppl ppl libmcpp mcpp xorg-x11-server-utils compat-db42 compat-db43 libdmx libXxf86dga libIDL ORBit2 GConf2 libbonobo gtk2-engines shared-mime-info libdaemon avahi avahi-glib gnome-vfs2 xorg-x11-utils compat-libstdc++-33 celt051 libXp ConsoleKit-x11 xorg-x11-xinit glibc-devel gcc compat-gcc-34 ncurses-devel gcc-c++ libgnome readline-devel compat-db libaio-devel unixODBC-devel compat-gcc-34-c++ libgcc nss-softokn-freebl glibc libaio libstdc++ ncurses-libs readline libICE libtool-ltdl libSM libuuid unixODBC libXau libX11 libxcb libXext libXi compat-libstdc++-33 libXt libXtst libaio-devel unixODBC-devel glibc-devel

Stella - a Centos desktop remix

Hello everybody, I'm doing a Centos 6 desktop oriented remix called Stella. This has been brewing since the summer and it's starting to get ready.
I've backported a lot of packages from Fedora and Rpmfusion and bundle several other repos, too, resulting in a big range of software available, including but not limited to:
LibreOffice, VLC, MPlayer, Shutter, Arista, Java, Flash, GParted etc

You can read (just slightly) more about it here: li.nux.ro/stella.
I'd love to receive any feedback.


Cheerio!
Nux

Russian Fedora and EL6

Just stumbled upon http://russianfedora.ru/ and I'm amazed. There's a lot of really interesting web sites and projects in the cyrillic part of the internet, too bad I don't speak Russian (had an attempt when I was younger, but failed miserably).
Anyway, these guys are quite cool, not only do they build their own Russian remix of Fedora, but they also make a remix of EL6 (unlike Stella, theirs is based on SL6, not Centos6) and apparently they have quite a large collection of RPMs. Really nice stuff!
Here are some links:
- Russian Fedora Remix: http://mirror.yandex.ru/fedora/russianfedora/releases/RFRemix/16/
- Russian EL6 (SL6) Remix: http://mirror.yandex.ru/fedora/russianfedora/releases/RERemix/6.2/

The installation images default to Russian language, but can be easily switched to other languages so feel free to give it a go!