How to update Cinnamon and applets from bash/fish?

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
fulanitodetal
Level 1
Level 1
Posts: 19
Joined: Fri Mar 30, 2012 10:05 pm

How to update Cinnamon and applets from bash/fish?

Post by fulanitodetal »

Is there a way to update Cinnamon and applets via bash/fish? I've been trying to search for an official Cinnamon repo, but all I can find are unofficial ones. Also, do I have to add repos for each specific applet?

Reason: I'm trying to learn to use the bash as much as possible for fun. One objective is to be able to use bash for everything I can already do with the GUI DE.

Edit: Here are the repos I've found:

ppa:wasta-linux/cinnamon-4-8 via https://trendoceans.com/how-to-install- ... in-ubuntu/

ppa:embrosyn/cinnamon via https://launchpad.net/~embrosyn/+archiv ... u/cinnamon
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop
Intel Core i7-4790K @ 8x 4.4GHz
NVIDIA GeForce GTX 1060 6GB
16GB mem
Mint 21.1 with Cinnamon

Laptop
Intel Core i5-5200U @ 4x 2.7GHz
Mesa Intel HD Graphics 5500
8GB mem
Dual boot: Mint 20.3 w/ Xfce and Win 10
User avatar
Larry78723
Level 14
Level 14
Posts: 5476
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: How to update Cinnamon and applets from bash/fish?

Post by Larry78723 »

There's no need to get complicated. Let's say you named the bash file update.sh, this is what it should look like:

Code: Select all

#!/bin/bash

# Usage : sudo ./update.sh

apt update -y
apt upgrade -y
After saving it, in your file manager, right-click on it and select Properties then check the box next to Execute. Exit out of Properties.
To execute the script, open a terminal, navigate to the folder where you saved it and enter the following:

Code: Select all

sudo ./update.sh
Image
If you have found the solution to your initial post, please open your original post, click on the pencil, and add (Solved) to the Subject, it helps other users looking for help, and keeps the forum clean.
User avatar
karlchen
Level 23
Level 23
Posts: 18211
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: How to update Cinnamon and applets from bash/fish?

Post by karlchen »

fulanitodetal wrote: Mon Sep 27, 2021 5:01 pm ppa:wasta-linux/cinnamon-4-8 via https://trendoceans.com/how-to-install- ... in-ubuntu/
ppa:embrosyn/cinnamon via https://launchpad.net/~embrosyn/+archiv ... u/cinnamon
Do yourself a favour: Hands off these PPA's. On Linux Mint you do not need them.
The first one may or may not be useful on genuine Ubuntu. On Mint it can only do harm.
The second one does not seem to have been updated since 2018.
fulanitodetal wrote: Mon Sep 27, 2021 5:01 pmI'm trying to learn to use the bash
This is fine. Practising bash commands is fine. But it is unrelated to keeping Cinnamon and its applets up-to-date. So both, bash learning/exercises and real system administration tasks should not be mixed.
fulanitodetal wrote: Mon Sep 27, 2021 5:01 pmI've been trying to search for an official Cinnamon repo
For Linux mint users the official Cinnamon repo is the Linux Mint software repository.

On updating Cinnamon and its applets
Specifically on LM 20.2 Cinnamon, you only need Update Manager in order to keep Cinnamon and its applets up-to-date. Please, read the "What's new" here:
LM 20 Cinnamon - New Features
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 771 days now.
Lifeline
fulanitodetal
Level 1
Level 1
Posts: 19
Joined: Fri Mar 30, 2012 10:05 pm

Re: How to update Cinnamon and applets from bash/fish?

Post by fulanitodetal »

Thank you!
Desktop
Intel Core i7-4790K @ 8x 4.4GHz
NVIDIA GeForce GTX 1060 6GB
16GB mem
Mint 21.1 with Cinnamon

Laptop
Intel Core i5-5200U @ 4x 2.7GHz
Mesa Intel HD Graphics 5500
8GB mem
Dual boot: Mint 20.3 w/ Xfce and Win 10
Locked

Return to “Cinnamon”