Tag Archives: source
Bash: Use pathmunge to manage your PATH
Simplify your bash PATH management with pathmunge. The pathmunge will add a directory to the beginning of your PATH if it is missing from your PATH. This means that you can safely .source ~/.bashrc without ending up with duplicate folders in your path (which you would get if you had used export PATH=/add/this/dir:$PATH). It is also clearer what folders you … Continue reading
Fedora: Rebuild A Source Package
General instructions to rebuild a Fedora source rpm. Note: This example uses the vlc source rpm, but it doesn’t work on my Fedora 8 system because there are problems installing dependencies, but the general commands should work on other packages Install build tools su -c 'yum install yum-utils rpmdevtools' Download source package. Either use yumdownloader to download from an existing … Continue reading
Ubuntu: Rebuild A Source Package
# install deb build tools sudo apt-get install build-essential fakeroot dpkg-dev devscripts # download the source code apt-get source package # install other packages needed to build sudo apt-get build-dep package cd package # update the version in the changelog dch -i # make any changes to the source # e.g. vim debian/rules # then build the new package dpkg-buildpackage … Continue reading