- Python pizza status
- Why Gen Y Is Going to Change the Web
- Understanding how you process information to help you get organized, part 2
- OLPC Will Ship With Windows XP
- How to Be On Time Every Time
- Poor Children Of The World No Longer Will Have To Struggle With Linux
- HubSpot Gets $12 Million To Drive Traffic to Your Site
- Google kills Anonymous AdSense account
- Epic Fail....
- Lifehack Digest for May 14
- Debian/Ubuntu users: update your SSL keys and certs
- Information Overload
- Scattered Clouds
- Cleaning Your Display and Keyboard
- Knievel Fail
- New Google Service Turns Web Pages into Networking Sites
- Ice Cream Fail
- Strange Fail
- Obedience Fail
- Scary Clown
zypper, lets make things better
Submitted by rene on Mon, 03/17/2008 - 20:06.zypper shipped with openSUSE 10.3 doesnt run well with 256mb of physical memory. Thats fine, maybe i should stop running antique hardware.
zypper has also been reported to be very very slow. Thats fine, yum was slow to begin with too.
zypper has had bug report after bug report asking for features that other package management utilities have had for while. Thats fine, zypper is new.. it will be fixed next version.
So lets build and install the next version of zypper from the latest source control revision and make things better. At the time of this post, the zypper version within subversion was 0.10.5.
$ sudo zypper install subversion libzypp-devel cmake gcc-c++ pkg-config boost-devel gettext-devel readline-devel $ mkdir ~/src && cd ~/src $ svn co http://svn.opensuse.org/svn/zypp/trunk/zypper $ cd zypper $ cmake . $ makeIf you're crazy enough to install freshly built binaries and libraries on your system that arent managed by your vendors package manager then go ahead and type
$ sudo make installOn the other hand, if you want an RPM.. lets make one
$ make srcpackage $ cd package $ tar jxvf zypper-0.10.5.tar.bz2 $ rm -f zypper-0.10.5.tar.bz2 zypper-0.10.5/CmakeCache.txt $ tar jcvf zypper-0.10.5.tar.bz2 zypper-0.10.5/ $ cp zypper.spec ~/rpm/SPECS/ $ cp zypper-0.10.5.tar.bz2 ~/rpm/SOURCES/ $ rpmbuild -ba --target `arch` ~/rpm/SOURCES/zypper.spec $ sudo rpm -Uvh ~/rpm/RPMS/`arch`/zypper-0.10.5-0.`arch`.rpmThe above assumes you have a working RPM build directory structure in ~/rpm and your ~/.rpmmacros file is setup accordingly. If this is not the case and you're not sure how to setup the RPM build directory structure then follow this tutorial. I was also running libzypp 4.4.2-2 which seems to be compatible with zypper 0.10.5.





















