LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 01-22-2019, 05:40 AM   #1
bobl01
Member
 
Registered: Oct 2018
Location: South West England
Distribution: Bodhi; Manjaro
Posts: 99

Rep: Reputation: 63
Cool New installation? New to Bodhi? This might help...


A new installation of Bodhi is very lightweight, and missing lots of app/tools that you get as a matter of course with other distros. That is all part of the philosophy of Bodhi, but it doesn't help the new user who is struggling to cope.

After every new installation, the first commands you always need are:
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

These take about 30 minutes to run, and I'm afraid you can't leave the computer unattended as it will ask a few questions along the way.

Once they've finished, you still need to download a lot more stuff to make a usable system. After doing several installations, I eventually put all the download commands I need into a single command file which I've attached to the post.

To run the command file you'll need to save it as a file in the top level of your user space, change the permission, and execute it:
chmod 755 bodhi_update_new_install.txt
./bodhi_update_new_install.txt

If you prefer to change the .txt extension to .sh then be my guest, but I don't think it's necessary.

Feel free to edit, amend, update and generally make it your own. You know what you need better than I do. If you think I've made an error, or missed out anything vital, then please let me know and I can save an update.

Enjoy

Bob
Attached Files
File Type: txt bodhi_update_new_install.txt (2.5 KB, 59 views)
 
Old 01-22-2019, 11:47 AM   #2
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 297

Rep: Reputation: 245Reputation: 245Reputation: 245
Wow cool script Bob

Interesting and I hope useful for some users...

Stefan
 
1 members found this post helpful.
Old 01-22-2019, 12:54 PM   #3
bobl01
Member
 
Registered: Oct 2018
Location: South West England
Distribution: Bodhi; Manjaro
Posts: 99

Original Poster
Rep: Reputation: 63
Thanks, Stefan. I've done about 10 installs now, and it's a great time-saver.
 
2 members found this post helpful.
Old 01-22-2019, 01:43 PM   #4
vini_njr
LQ Newbie
 
Registered: Jan 2019
Distribution: bodhi linux
Posts: 2

Rep: Reputation: Disabled
this is just additional installations, not a new version
 
Old 01-22-2019, 04:18 PM   #5
bobl01
Member
 
Registered: Oct 2018
Location: South West England
Distribution: Bodhi; Manjaro
Posts: 99

Original Poster
Rep: Reputation: 63
That's right. You need to install Bodhi first, from the version 5 distribution disk image, then in Terminology run
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

Then run the command file (after changing its permissions to execute). The command file is interactive and you select just the parts you want; for example, you might not need LibreOffice or printer support. The command file downloads and installs the parts you've selected.

If you need more detailed instructions on downloading the file and running it in Terminology then post another message.
 
Old 01-22-2019, 05:53 PM   #6
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5
Posts: 419

Rep: Reputation: 160Reputation: 160
no offense. not sure what you sre doing since i know so little and i do trust stefan 100%. i install the appack and then synaptic and all of the stuff i need via synaptic or bodhi apps. never had any issues. i run krita all the time which is a kde based scne and no issues. so not sure what this is all about - i am probably wrong but hey... it is what it is.
 
Old 01-22-2019, 07:06 PM   #7
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 108

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by bobl01 View Post
...
After every new installation, the first commands you always need are:
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

These take about 30 minutes to run, and I'm afraid you can't leave the computer unattended as it will ask a few questions along the way.

...

Bob
Hmmm do ya know about things like apt-get -o Dpkg::Options::='--force-confold' --force-yes -fuy dist-upgrade"?
 
Old 01-23-2019, 01:08 AM   #8
enigma9o7
Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi 5 (Ubuntu 18.04)
Posts: 174

Rep: Reputation: Disabled
I always thought sudo apt dist-upgrade was instead of sudo apt upgrade tho, not that one should run both? I always just do dist-upgrade....

But anyways cool script. Of course everyone uses different apps, and although you prompt for many things, it does force install quite a bit of stuff, including whatever bodhi-apppack is - if that converts regular version to apppack version, seems unnecessary as if people didn't choose apppack distro in the first place, they probably wouldn't want to install it later. Although you've got me curious enough about a couple things I'm going to try like gedit (I was already familiar with nano cuz of using pine/pico on university shell accounts back in the day, but it does have its limitations...). Plus although many may want firefox, some might want it w/o thunderbird, but you bundle them together.

The other thing I might include is a pdf viewer/printer, I use okular but no idea if it's the best choice, just know it works for me. And maybe flatpak and snap support.
 
Old 01-23-2019, 02:15 AM   #9
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 297

Rep: Reputation: 245Reputation: 245Reputation: 245
hemlocktree: Bob created the simple executable script for his apps installation. He installs the default (bare) Bodhi version and his script is an easy terminal wizard with yes/no options to install apps he consideres to be useful. As he claims, you can edit the script for your needs.

Stefan

Last edited by the_waiter; 01-23-2019 at 02:19 AM.
 
1 members found this post helpful.
Old 01-23-2019, 03:46 AM   #10
bobl01
Member
 
Registered: Oct 2018
Location: South West England
Distribution: Bodhi; Manjaro
Posts: 99

Original Poster
Rep: Reputation: 63
Quote:
Originally Posted by enigma9o7 View Post
Of course everyone uses different apps, and although you prompt for many things, it does force install quite a bit of stuff, including whatever bodhi-apppack is - if that converts regular version to apppack version, seems unnecessary as if people didn't choose apppack distro in the first place, they probably wouldn't want to install it later.
Unless you have a 32-bit machine, in which case you have a choice of exactly one Bodhi 5 installation image.

I actually had no intention of releasing the script, but I changed my mind after reading another thread where a new user was struggling to get Music, Video, Template, etc folders in their Home folder; an issue that my script fixes automatically. The script sets up what I consider to be a reasonable system suitable for a new user, enabling them to make a yes/no decision on whether or not it suits them.

The new user can run the script as-is. The experienced user can take whatever they need from it and leave the rest (as the song puts it).
 
Old 01-23-2019, 03:56 AM   #11
bobl01
Member
 
Registered: Oct 2018
Location: South West England
Distribution: Bodhi; Manjaro
Posts: 99

Original Poster
Rep: Reputation: 63
Thumbs up

Quote:
Originally Posted by rbtylee View Post
Hmmm do ya know about things like apt-get -o Dpkg::Options::='--force-confold' --force-yes -fuy dist-upgrade"?
Well, I wasn't aware so thanks for the heads-up. However, one of the questions that pops up during the first upgrade is to select an appropriate keyboard layout, which I don't think can be avoided or forced. There is also another question about setting up some GRUB options which might not be forced, either (not sure). If the user has to hang around to answer those questions then maybe it's best to keep them awake by periodically requiring them to push the Y key from time to time....
 
Old 01-23-2019, 06:40 AM   #12
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: Bodhi 5
Posts: 419

Rep: Reputation: 160Reputation: 160
thanks stefan
 
Old 01-23-2019, 06:48 AM   #13
rbtylee
Bodhi Developer
 
Registered: Jun 2018
Location: Ladson, SC US
Distribution: Bodhi
Posts: 108

Rep: Reputation: 125Reputation: 125
Quote:
Originally Posted by bobl01 View Post
Well, I wasn't aware so thanks for the heads-up. However, one of the questions that pops up during the first upgrade is to select an appropriate keyboard layout, which I don't think can be avoided or forced. There is also another question about setting up some GRUB options which might not be forced, either (not sure). If the user has to hang around to answer those questions then maybe it's best to keep them awake by periodically requiring them to push the Y key from time to time....
I will take a look at this when I find time. Unfortunately I use a lot of VMs with snapshots and on the ones with BL installed I always take a snapshot after installation BUT this is after I install and do a upgrade dist-upgrade Hmm seems like another VM installation is due to examine what is pulled in when one updates/upgrades.

But anyways it is ALWAYS possible to upgrade with no user intervention. I don't think you were around when Bodhi had offline installers for all the software on our Appcenter, at the time over 200 in 3 different architectures (32 bit, 64 bit and arm). We called these offline installers bod files and they had to be able to install the software packages with no user intervention. Even ones using ncurses dialogs and whatnot. Sometimes it was challenging, I know because I ended up with the job and eventually wrote a python library/script to automate the process for me.

Anyway looking at this is low priority but I will try to remember and let ya know
 
Old 01-23-2019, 09:06 AM   #14
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 176

Rep: Reputation: 25
Quote:
Originally Posted by bobl01 View Post
I actually had no intention of releasing the script, but I changed my mind after reading another thread where a new user was struggling to get Music, Video, Template, etc folders in their Home folder; an issue that my script fixes automatically. The script sets up what I consider to be a reasonable system suitable for a new user, enabling them to make a yes/no decision on whether or not it suits them.
seems like a helpful addition to me as well. thanks for sharing your hard work
 
Old 01-23-2019, 09:44 AM   #15
cordx
Member
 
Registered: Oct 2018
Location: texas
Distribution: bodhi 5.0
Posts: 176

Rep: Reputation: 25
Quote:
Originally Posted by enigma9o7 View Post
I always thought sudo apt dist-upgrade was instead of sudo apt upgrade tho, not that one should run both? I always just do dist-upgrade....
i was under the same impression. hopefully someone with a bit more understanding can weigh in on which is a best practice fit for bodhi.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu 18.04-Based Bodhi Linux 5.0 Enters Beta with Bodhi Builder Improvements LXer Syndicated Linux News 0 05-30-2018 12:12 PM
LXer: Bodhi Linux 2.4.0 Released, One Year Left Until Bodhi 3.0.0 LXer Syndicated Linux News 0 09-14-2013 06:21 PM
LXer: Bodhi Linux… Ubuntu might have a competitor LXer Syndicated Linux News 0 07-12-2011 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 09:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration