Apply a source patch
dpkg-source -x wu-ftpd_2.6.0-4.dsc
Hente sourcen til en debian pakke ved at tilføje en deb-src linje til /etc/apt/sources.list og hente sourcen med
apt-get source <pakke>
Bygge egne rpm-pakke udfra source:
mkdir $HOME/rpm mkdir $HOME/rpm/SOURCES mkdir $HOME/rpm/SPECS mkdir $HOME/rpm/BUILD mkdir $HOME/rpm/SRPMS mkdir $HOME/rpm/RPMS mkdir $HOME/rpm/RPMS/{i686,x86_64} echo "%_topdir $HOME/rpm" >> $HOME/.rpmmacros rpmbuild -ta courier-0.40.tar.bz2
Genopbygge RPM databasen:
rm -f /var/lib/rpm/__db* rpm –rebuilddb yum clean all
apt install ruby-dev / dnf install ruby-devel gem install fpm
FPM presentation
Use FPM to easily create packages in multiple formats