Skip to playerSkip to main content
  • 2 days ago
On Linux, Discord does not update automatically like on Windows or macOS. This script ensures that Discord stays up to date by checking for the latest version and installing it when needed. The script runs at system startup, ensuring you always have the latest version without manual intervention.

~~~

FOR DONATIONS
ONE TIME [ https://www.buymeacoffee.com/MAYANSAJID ]
CONTINOUSLY [ https://www.patreon.com/MAYANSAJID ]

~~~

MY MAIN CHANNEL

http://www.youtube.com/@mayansajid

MY GAMING CHANNEL

https://www.youtube.com/@LITTLEFORCE

~~~

Be My Friend :)

https://www.facebook.com/mayansajidxLITTLEFORCE
https://www.instagram.com/mayansajid/
https://twitter.com/mayansajid/
Transcript
00:00All right, what's up? I'm Aiyang and in this video I am going to show you how you can keep
00:03your discord up to date on Linux
00:05By using a simple script. This script is actually created by my friend and he also told me how this
00:11works
00:12So I'm gonna just gonna make a video on it. First of all, you have to go to this link
00:17I will put this link in the description so you can check it out for yourself and on Linux
00:22Discord does not update automatically
00:25I don't know why all you have to do is open up discord and it starts updating
00:29But this thing is not going is going to change for now
00:33This is a script that whenever your system boots up it that automatically checks for updates on discord and
00:41Downloads everything so whenever you open up discord you are ready to do
00:45first of all all you have to do is open up your terminal and
00:49Give it some root access by typing pseudo su now you have root access on your terminal
00:55Which means you are good to go now?
00:57We have to copy the first command right here, which is the create the script file
01:03Paste the command right here hit enter and this will open up the script created something
01:10Now all you have to do is go to this
01:14Stage now this file
01:16This is a scripted you can actually directly download it, but I recommend that you copy this raw file and
01:22create your own script
01:25Open up the terminal again after you have copied the raw file and
01:29Paste it right here. Once this is done if you check it is
01:33Good now control plus X to save the file. I'm just gonna
01:39Control plus X and hit Y to yes and hit enter and
01:45Now you have created the script file in the desired dictionary now. Let's make the script executable
01:52So for this we are going to copy the second line of commands
01:58Open up your terminal again like this paste it right here hit enter and
02:04now we have the script
02:07executable to be
02:08On the safe side. I recommend that you copy these things as well. So it's gonna
02:16Copy the first line and add the
02:20Just like this add this fourth line at the end of the line
02:25I actually already made this file just test it and it was working correctly. So I'm just gonna
02:32First say should I redo it again or just keep the video as it is now
02:37I'm just gonna redo it again
02:39I'm just gonna redo it again. Let me just you won't have that last line so you have to manually
02:43add this
02:43Line just copy the fourth line and
02:46Paste it right here
02:49like this
02:51Now ctrl plus x to save the file press y to confirm and hit enter to save it
03:00So these are some notes that you need you might need
03:03So it is highly recommend that you run these as well
03:07Also make sure you have these some
03:10Some of these certain packages installed like curl
03:14Deepak and things like that
03:16So I'm just gonna make the first one if it gives you any error on this stage
03:21Search for enter type in curl debug and those little bit of commands if it will automatically install those
03:30Pre-requisites and you will be good to go
03:34So if you don't get the any errors, so all you have to do is just
03:39Copy this last command and
03:42paste it at
03:45the end of the line
03:47So now we have to do is now
03:49Replace your username with your actual username which you can find right here on
03:53On the terminal as well. It is a root at ion. It is all caps ion. So I
04:01am going to
04:03change the username
04:05There we go
04:07You can see the username is ion on my
04:11Now the command is ready all you have to do is ctrl plus X to
04:16Save the file confirm by pressing Y and hit enter to
04:21save it
04:23It looks like our work here is now done
04:26No
04:28This is a simple file now every time you boot your
04:32laptop or your system
04:34This script will run in the background and check for updates of discord and download all the updates
04:42If discord is somehow deleted or missing it will actually automatically download this code for you as well
04:50Yep, I am just making sure that all of these
04:53Things are installed you see curl is installed and it is showing as it is if curl was not installed
05:02It will automatically give you the option to install you have to do press Y and hit enter
05:06It will install all these curl and some dependencies that this script requires to run
05:13anyway
05:13It looks like all of my
05:20Dependencies are installed and I am checking them one by one if
05:25You get any error during this process you can check these dependencies at any point in the terminal
05:32You can even check the last one as well. This is a list of all the dependencies that already installed
05:39on your
05:40Linux operating system, okay
05:44Nothing to check here anymore. I guess
05:49Let's check this script if it is working or not
05:52How do you check it? by?
05:56Using the first command. I'm just gonna
06:00close this open up the terminal again and
06:04Type in pseudo as you because this script requires pseudo access
06:09Also known as root access let me type in the
06:14first I'm sorry about that I
06:18Did okay how this script works?
06:23Yep, this is the script you can find it by using the first commands that you have entered
06:29Pressing the app arrow key brings brings up all the recent commands which I am doing right now
06:35All right
06:37Okay, I'm I'm just getting confused at this point. Okay. All you have to do is just
06:43pseudo and
06:46Enter the
06:47Script bus as now so you can see it is now
06:51Connecting to the internet and is now downloading discord for me
06:55It found that this code was not installed and it is now
06:59installing discord for me automatically
07:03Which is a good thing it will automatically
07:06Update it as well. So all you have to do is wait for it
07:10You don't have to be annoyed every time you open this code and wait for the updater to do its
07:15job
07:15It will automatically run in the background and whenever you open discord it will be ready to use without any
07:21further wait
07:22Now let's wait for the script to download man. My internet is very slow. I
07:34I hope
07:34While we are waiting for the discord to download I highly recommend that you press the subscribe button and
07:42Get done the notification on so you can get all the cool videos that I am uploading on my youtube
07:48channel
07:50Okay, looks like discord is now installed. Let's open it up. See if any updates are available
07:56Nope, I don't think so
07:59This code is not starting and I it actually logged in because I was logged in on my browser
08:05Very nice looks like you'd not need to wait for updates anymore on Linux
08:10Thanks, my friend. Anyway, that's been it. Thanks for watching. I hope you liked this video. I will catch you
08:16guys in the next one. Take care. Bye. Bye
08:19And also it feels sad that my discord is empty
08:27Well, no worries
08:29It will be good soon
08:33See ya
08:34Let's open up this part again. Yep. No requires of updates. It automatically opens up very fast
08:42Nice nice nice
08:45Man, I'm gonna keep this script on my personal Linux
08:49Operating system
08:52This is the link that you can go to and
08:55This is my buddy who made this script. See ya
Comments

Recommended