OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

6.45.1. Installation of Xz

image

Prepare Xz for compilation with:


./configure --prefix=/usr

\

./configure --prefix=/usr


--disable-static \

--docdir=/usr/share/doc/xz-5.2.4

--disable-static \

--docdir=/usr/share/doc/xz-5.2.4

Compile the package:


make

make

To test the results, issue:


make check

make check

Install the package and make sure that all essential files are in the correct directory:


make install

mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin mv -v /usr/lib/liblzma.so.* /lib

ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so

make install

mv -v /usr/bin/{lzma,unlzma,lzcat,xz,unxz,xzcat} /bin mv -v /usr/lib/liblzma.so.* /lib

ln -svf ../../lib/$(readlink /usr/lib/liblzma.so) /usr/lib/liblzma.so


Top OS Cloud Computing at OnWorks: