this post was submitted on 15 Aug 2023
73 points (96.2% liked)
Linux
47993 readers
1194 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
How would I reinstall it? I tried to look it up but I couldn't find anything.
apt install --reinstall PKG_NAME
Is the command to reinstall a package, replace PKG_NAME with the name of the package you want to reinstall.
You should use apt instead of apt-get. It is newer, more user friendly and supposedly handles dependency resolution better.
This command (could have) saved me lots of times, had I known it earlier. So far it has saved me once.
I've already done that but thanks anyways.
sudo apt-get install --reinstall
https://duckduckgo.com/?q=apt+reinstall+package&t=fpas&ia=qa&iax=qa
Not sure how you searched but I assume you didn't use or know apt? How do you install packages in the first place? Through GUI or Terminal?
EDIT: I assume you use the Linux Mint GUI package manager. I can't find how to do this too, would need to search more detailed but I don't have enough time for this now, need sleep, don't have enough sleep.
I know about and have used apt, I install pretty much everything through the terminal. What I searched for was "how to reinstall libpcre" because I thought that it required a specific method or something due to the fact that it's a system library.
Anyways, it reinstalled it but I wont know if it fixed the issue until tonight.
Sometimes we think a little bit too complicated