sudo apt-get install libdb4.8-dev Error: Package 'libdb4.8-dev' has no installation candidate
You are missing dependencies. Try the following steps in full.
This step will get you access to the above libdb4.8-dev package on Ubuntu.
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
If you are instead on Debian then the process is a little different you want to edit your sources.list and add the line beginning with deb to the bottom of the file replacing [mirror] with your closest debian mirror (you can copy from the urls already in this file, the important part is the "oldstable main" part). Make sure to apt-get update after adding the line!
nanoetc/apt/sources.list
deb http://[mirror]/debian/ oldstable main
sudo apt-get update
Next we download and all install all the required dependences. Note that if you are on Debian you may need to change the package "libboost1.54-all-dev" to "libboost1.49-all-dev".
sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev libdb4.8-dev libdb4.8++-dev libboost1.54-all-dev libminiupnpc-dev libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev libqrencode-dev git nano
Now we clone the source code for digibyte and move into that directory
git clone https://github.com/digibyte/digibyte
cd digibyte
Now we can compile the source code into the Daemon (digibyted) and the GUI Wallet (Digibyte-Qt).
./autogen.sh
./configure
make
If you now check the src folder you will have digibyted and digibyte-Qt.