-
-
Notifications
You must be signed in to change notification settings - Fork 59
Building packages for Debian
Stas Sergeev edited this page Jun 18, 2022
·
16 revisions
Debian currently has awkward access to Ubuntu PPAs. There are guides on the internet that seem to show it working, but it seems more than a little difficult. In any case it is better to produce proper Debian packages than to try to shoehorn in non-native ones from Ubuntu. Both FDPP and Dosemu2 have proper debian packaging shipped in their respective repositories.
Firstly setup some generic build tools
sudo apt install devscripts equivs git wget unzip checkinstall
Build FDPP packages
git clone https://github.com/dosemu2/fdpp.git
cd fdpp
# Figure out and install the build tools we need to build the package
mk-build-deps --install --root-cmd sudo --remove
# then initiate the build
make deb
# after it finishes the debs are in the directory above
cd ..
# you should install them now, as we require the development package to build Dosemu2
sudo apt install ./fdpp*.deb
Install comcom32
git clone https://github.com/dosemu2/comcom32.git
cd comcom32
# Get the latest build from the master site
wget https://dosemu2.github.io/comcom32/files/comcom32.zip
unzip comcom32.zip
# Install it
sudo make checkinstall
# Leave this directory for further steps
cd ..
Now let's build the Dosemu2 packages
git clone https://github.com/dosemu2/dosemu2.git
cd dosemu2
# Figure out and install the build tools we need to build the package
mk-build-deps --install --root-cmd sudo --remove
# then initiate the build
make deb
# after it finishes the debs are in the directory above
cd ..
# you can install them now.
sudo apt install ./dosemu*.deb