|
Post by bigbass on Aug 18, 2013 3:42:05 GMT 1
thought to share a mini how to UPDATED for linux mint 18.3 mate 64 bitIf you have a DVD already burned you can skip the USB installer part saves you from wasting DVD ============ USB PART ============ the only part where you could bork your drive is if you dd the wrong drive so be warned to be careful
======================================== linuxmint.com/download.phpselect your download I used USA use wget so it gets it all if you lose a connection
wget -c http://mirrors.seas.harvard.edu/linuxmint/stable/18.3/linuxmint-18.3-mate-64bit.iso
after you have the iso downloaded fdisk -l
see what is your inserted USB my output is this note that you will NOT use the interger sdb1 just sdb (without the number one ) this is serious you must have the correct info the dd command is not user friendly this command has to be modified to the iso you downloaded and the folder where the iso is located remove the leading # its a safety #dd if=linuxmint-18.3-mate-64bit.iso of=/dev/sdb oflag=direct bs=1048576 that makes a hybrid iso on your USB drive so you can boot "live" into linux mint when done it takes some time (3-5 minutes) but here is the end result you must wait until it finishes the USB light will be blinking ============ END USB PART ============ PRESTEP set up a full compiler
you need to install build-essential
open a terminal sudo apt-get install build-essential
# then answer yes twice Well mate has some problems so had to get around this by sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt-get update sudo apt-get upgrade build-essential FLTK for some bacon examples (an extra) sudo apt-get install librsvg2-dev sudo apt-get install libcairo2-dev now you can start from here to install BaCon ------------------------------------------------- ------------------------------------------------- # make a place where you have permissions to # add files for bacon you can download hug.bac here www.basic-converter.org/hug.bacmkdir -p /usr/share/BaCon # download the latest baCon www.basic-converter.org/dependency for the bacon gui sudo apt-get install libgtksourceview-3.0-dev If you want to run any BaCon code that uses gtk2 it has to be installed sudo apt-get install libgtk2.0-dev If you want to run any BaCon code that uses gtk3 it has to be installed sudo apt-get install libgtk-3-dev
|
|
|
Post by vovchik on Aug 19, 2013 19:50:54 GMT 1
Dear Joe,
Thanks. I am going to have to try you Mint now. I have no excuse any longer....
With kind regards, vovchik
|
|
2lss
Full Member
Posts: 140
|
Post by 2lss on Aug 20, 2013 3:55:22 GMT 1
bigbass, If your looking for a way to install a Debian-based distro on a usb drive with persistence, check out the Debian Live Images. They have an option, similar to puppy linux that lets you run in live mode and save any changes to a save file or partition. Info hereThe other option could be to build a Debian image via live-build and include the bacon deb package along with the necessary include files. It would basically be a debian-based bacon distro
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Aug 20, 2013 9:55:55 GMT 1
I've been using Mint for a long time and can say that it's the most user friendly distro at the moment. There are other ways to create a bootable USB disk. 1. In Mint repository you can find "Startup Disk Creator". First you need to download an iso image and burn it to DVD (keep the iso image on your hard disk for further use). Now boot the live session and type sudo apt-get install usb-creator-gtk or sudo apt-get install usb-creator-kde in the terminal. When the installation process is finished type usb-creator-gtk (or usb-creator-kde) to run the program. Choose the location of iso image, USB disk to use and set the amount of space for storage. Then click "Make..." button and it's done. 2.The easiest way is to use UNetbootin. It will download an image and create bootable USB automatically. The program is compatible with many Linux distros.
|
|
|
Post by bigbass on Aug 20, 2013 15:21:37 GMT 1
|
|
|
Post by konaexpress on Aug 20, 2013 16:15:15 GMT 1
Nice!
Thanks Bigbass!
|
|
bige
Junior Member
When the shot counts...
Posts: 75
|
Post by bige on Aug 23, 2013 17:18:22 GMT 1
Very nice Joe! Looks like I'm going to have to try mint again myself...cudos bud!
|
|
|
Post by konaexpress on Feb 1, 2014 0:49:12 GMT 1
Hi Joe,
I know I'm late on this but do you have a web page for these files? If not, let me know and I will help host them for you.
John
|
|
|
Post by bigbass on Sept 5, 2017 16:42:57 GMT 1
bumped updated first post to mint 18.2 mate
I always boot a clean version with a USB then set up the compiler (because using a windows 10 computer untouched)
*I now set up a local repo so that I don't have to download all the packages each time
|
|
|
Post by bigbass on Sept 5, 2017 17:56:53 GMT 1
#set up a local repo in two steps
#First step install the packages you will need #here is a real example I always use
sudo apt-get update
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade build-essential
sudo apt-get install libfltk1.3-dev
sudo apt-get install librsvg2-dev
sudo apt-get install libcairo2-dev
sudo apt-get install libgtk2.0-dev
sudo apt-get install geany
#all of those packages are now in /var/cache/apt/archives # we copy all of them to our new local repo
# make local repo mkdir /usr/local/mydebs
cp /var/cache/apt/archives/*.* /usr/local/mydebs
# make the package list cd /usr/local/mydebs sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
#............................end first step..........................
#second step now that you have all the packages you need copy them to a storage device USB/sdcard
#a one time thing this will depend on your storage location of course #cp /usr/local/mydebs/*.* /media/mint/SDCARD16/mydebs/
# later when on a "clean box" copy mydebs from USB to /usr/local/mydebs #cp /media/mint/SDCARD16/mydebs/*.* /usr/local/mydebs
# a way to make a local repo list echo "#/etc/apt/sources.list" > /tmp/mydebs.list echo "deb file:/usr/local/mydebs ./" >> /tmp/mydebs.list
sudo cp /tmp/mydebs.list /etc/apt/sources.list.d/mydebs.list sudo cp /tmp/mydebs.list /etc/apt/mydebs.list
#MOVE OFFICAL FILES TO tmp to get them out of the way for a moment sudo mv /etc/apt/sources.list.d/official-package-repositories.list /tmp sudo mv /etc/apt/sources.list /tmp
#update your local only repo sudo apt-get update
#now you can install all the packages in /usr/local/mydebs # without an internet connection
#............................end second step..........................
#now to return to your official online packages # return the official lists
sudo mv /tmp/official-package-repositories.list /etc/apt/sources.list.d/official-package-repositories.list sudo mv /tmp/sources.list /etc/apt/sources.list
sudo apt-get update
|
|
|
Post by bigbass on Jan 30, 2018 18:27:25 GMT 1
We sometimes compile demos for bacon and there are several dependencies that we use I always boot clean and run this script to set up my computer and know exactly what is installed manually and automatically this way I can set up on any computer in minutes and start working
you can follow the idea and set it up for your needs
#!/usr/bin/env bash
#read -sp "Must be sudo Will set up a local repo of packages Press ENTER to continue . . . " #xdg-open http://www.basic-converter.org/ # export DEBIAN_FRONTEND=noninteractive
echo "http://www.basic-converter.org/stable/" echo "bacon forum http://basic-converter.proboards.com/"
sudo apt-get -y --allow-unauthenticated install geany
echo -e "\e[0;46minstall geany \033[0m" #Do this once only # CHANGE THIS for your usb/sdcard location
#cd /media/mint/SDCARD16/ # wget -nc http://www.basic-converter.org/stable/bacon-3.7.tar.gz #tar xvfz bacon-3.7.tar.gz #cd bacon-3.7.tar.gz #./configure #make #make install
#or download the package #wget -nc http://www.basic-converter.org/stable/bacon_3.7-1_amd64.deb
# CHANGE THIS for your usb/sdcard #cd /media/mint/SDCARD16/bacon-3.7
#sudo make install #echo -e "\e[0;46mInstalled Bacon and Bacon GUI\033[0m"
echo -e "\e[0;46mPlease wait copying packages now\033[0m"
#sudo apt-get -y --allow-unauthenticated install bacon_3.7-1_amd64
#echo -e "\e[0;46minstall bacon_3.7-1_amd64 \033[0m"
# make local repo mkdir /usr/local/mydebs sudo cp /media/mint/SDCARD16/mydebs/*.* /usr/local/mydebs/ echo -e "\e[0;46mDone copying packages \033[0m"
echo -e "\e[0;46mMaking Packages.gz \033[0m"
cd /usr/local/mydebs
#add bacon #wget -nc http://www.basic-converter.org/stable/bacon_3.7-1_amd64.deb
sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
# new way have tested echo "#/etc/apt/sources.list" > /tmp/mydebs.list echo "deb file:/usr/local/mydebs ./" >> /tmp/mydebs.list sudo cp /tmp/mydebs.list /etc/apt/sources.list.d/mydebs.list sudo cp /tmp/mydebs.list /etc/apt/mydebs.list
#MOVE OFFICAL FILES TO tmp sudo mv /etc/apt/sources.list.d/official-package-repositories.list /tmp sudo mv /etc/apt/sources.list /tmp
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y --allow-unauthenticated update echo -e "\e[0;46mset up local repo with mydebs.list \033[0m"
echo -e "\e[0;46mMfinished settting up the new local repo \033[0m"
sudo apt install auto-apt echo -e "\e[0;46musing /usr/local/mydebs\033[0m"
# using /usr/local/mydebs #sudo add-apt-repository ppa:ubuntu-toolchain-r/test
# official dependencies fltk 1.3.3 #libfltk1.3 libfltk-cairo1.3 libfltk-forms1.3 libfltk-gl1.3 libfltk-images1.3 # libfltk1.3-dev
sudo apt-get -y --allow-unauthenticated upgrade build-essential echo -e "\e[0;46mUpgraded build-essential\033[0m" #sudo apt-get -y --allow-unauthenticated install libfltk1.3-dev #echo -e "\e[0;46minstalled FLTK dev package\033[0m"
sudo apt-get -y --allow-unauthenticated install librsvg2-dev sudo apt-get -y --allow-unauthenticated install libcairo2-dev echo -e "\e[0;46minstalled cairo and svg dev package\033[0m"
sudo apt-get -y --allow-unauthenticated install libssl-dev sudo apt-get -y --allow-unauthenticated install libgcrypt20-dev echo -e "\e[0;46minstalled libssl-dev and libgcrypt20-dev package\033[0m"
#read -sp "a pause so you can update and add more pakages Press ENTER to continue . . . " #return official repo files from tmp
sudo apt-get -y --allow-unauthenticated install libgtk-3-dev
echo -e "\e[0;46minstall libgtk-3-dev \033[0m"
#If you want to run any BaCon code that uses gtk2 it has to be installed sudo apt-get -y --allow-unauthenticated install libgtk2.0-dev echo -e "\e[0;46minstall libgtk2.0-dev \033[0m"
echo -e "\e[0;46mMaking Packages.gz again \033[0m"
cd /usr/local/mydebs sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
sudo mv /tmp/official-package-repositories.list /etc/apt/sources.list.d/official-package-repositories.list sudo mv /tmp/sources.list /etc/apt/sources.list
#read -sp "a pause so you can connect to the net then update and add more pakages Press ENTER to continue . . . " #return official repo files from tmp
sudo apt-get -y --allow-unauthenticated update echo -e "\e[0;46musing official on line packages now \033[0m"
cp /var/cache/apt/archives/*.* /media/mint/SDCARD16/mydebs/ #sudo apt-get -y --allow-unauthenticated install bacon_3.6-1_amd64
# bacon dependency sudo apt-get -y --allow-unauthenticated install enscript
# manual install of bacon that I had downloaded earlier # and placed in the same folder as this script #dpkg -i bacon_3.6-1_amd64.deb #dpkg -i bacon_3.7-1_amd64.deb
sudo mkdir /usr/share/fonts/truetype/Hippie echo -e "\e[0;46mMade a font directory to test Bacon with dont forget fonts\033[0m"
|
|
|
Post by bigbass on Feb 9, 2018 18:15:33 GMT 1
Hey Guys
An update to mint 18.3 MATE 64 bit quick script to get everything for bacon ready
This is what I use on a clean install (its easier for me to have a clean box ) that is always setup the same way
#!/usr/bin/env bash
#I set up mint 18.3 MATE 64 bit with this
export DEBIAN_FRONTEND=noninteractive
sudo apt-get -y --allow-unauthenticated update echo -e "\e[0;46mupdate \033[0m"
sudo apt-get -y --allow-unauthenticated install geany
echo -e "\e[0;46minstall geany \033[0m"
sudo apt-get -y --allow-unauthenticated libxfont1-dev
sudo apt-get -y --allow-unauthenticated install build-essential echo -e "\e[0;46minstalled build-essential\033[0m" sudo apt-get -y --allow-unauthenticated install libfltk1.3-dev echo -e "\e[0;46minstalled FLTK dev package\033[0m"
sudo apt-get -y --allow-unauthenticated install librsvg2-dev sudo apt-get -y --allow-unauthenticated install libcairo2-dev echo -e "\e[0;46minstalled cairo and svg dev package\033[0m"
sudo apt-get -y --allow-unauthenticated install libssl-dev sudo apt-get -y --allow-unauthenticated install libgcrypt20-dev echo -e "\e[0;46minstalled libssl-dev and libgcrypt20-dev package\033[0m"
sudo apt-get -y --allow-unauthenticated install libgtk-3-dev
echo -e "\e[0;46minstall libgtk-3-dev \033[0m"
#If you want to run any BaCon code that uses gtk2 it has to be installed #sudo apt-get -y --allow-unauthenticated install libgtk2.0-dev #echo -e "\e[0;46minstall libgtk2.0-dev \033[0m"
# bacon dependency sudo apt-get -y --allow-unauthenticated install enscript
# bacon dependency only for making a deb package from source sudo apt-get -y --allow-unauthenticated install checkinstall
# bacon dependency sudo apt-get -y --allow-unauthenticated install indent
# bacon dependency sudo apt-get -y --allow-unauthenticated install xterm
# vovchik needs cool fonts for his work dont forget to install them manually sudo mkdir /usr/share/fonts/truetype/Hippie echo -e "\e[0;46mMade a font directory to test Bacon with dont forget fonts\033[0m"
|
|