On Thu, Jun 17, 2010 at 1:59 PM, Rajesh kumar <[email protected]> wrote: > [rkarthige...@pc176 ~]$ apt-get install zlib > E: Unable to write to /var/cache/apt/ > E: The package lists or status file could not be parsed or opened.
Can't do that! Here's what I do: $ cd ~/opt $ apt-cache show zlib1g Package: zlib1g ... Filename: pool/main/z/zlib/zlib1g_1.2.3.3.dfsg-12_amd64.deb ... $ wget http://ftp.debian.org/pool/main/z/zlib/zlib1g_1.2.3.3.dfsg-12_amd64.deb $ ar x zlib1g_1.2.3.3.dfsg-12_amd64.deb && tar zxf data.tar.gz $ find usr/ usr/ usr/share usr/share/doc usr/share/doc/zlib1g usr/share/doc/zlib1g/changelog.gz usr/share/doc/zlib1g/copyright usr/share/doc/zlib1g/changelog.Debian.gz usr/lib usr/lib/libz.so.1.2.3.3 usr/lib/libz.so.1 In your ~/.bash_profile, set the following export LD_LIBRARY_PATH=~/opt/usr/lib:$LD_LIBRARY_PATH export PATH=~/opt/bin:~/opt/usr/bin:$PATH - Raja _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
