make sure you have dependencies and they are upto date
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libssl-dev libdb-dev libdb++-dev libqrencode-dev qt4-qmake libqtgui4 libqt4-dev git
sudo apt-get install libminiupnpc-dev libminiupnpc8 libboost-all-dev build-essential git libboost1.48-all-dev
Next clone the source code from github replacing the dogecoin github with whatever other alt
git clone https://github.com/dogecoin/dogecoin
If you want to install the QT (GUI) Wallet
cd dogecoin
qmake USE_UPNP=-
make
once compiled you can double click on Dogecoin-QT or whatever-QT and the wallet will run
If you want the Daemon (Non-Gui)
cd dogecoin/src
make -f makefile.unix USE_UPNP=-
to run the daemon make sure you are in the src folder and type
that's pretty much it