Debian commands on Ubuntu system
Hello!
I found a nice video tutorial aimed at Debian 6.x users. I have Ubuntu 14.04 My question is... Can I just blindly use on modern Ubuntu system what they showed on older Debian system? Or should I be careful here? What's the risk, if any? Especially regarding LAMP install and commands (and also Apache configuration). Apache 2.2 back then (right?) and now it's 2.4... What do you think? |
|
Ubuntu tend to mess with Debian - especially any GUI applications.
There's a very good chance that command line install/configuration is probably OK. You will need to use only Ubuntu packages though - you can't install current Debian packages. Mixing Ubuntu packages with Debian packages is guaranteed to fail in a bad way. Why not try your setup in a VM first? |
Thank you both for your replies!
I don't use VM. I wasn't asking about packages, but the SYNTAX of commands. For example, he teaches about Samba clients. The command (he uses Debian) he enters in his terminal is: aptitude install smbclient I know that usually in Ubuntu's terminal I use apt-get install command, so it's different. That's what I was asking in my original post. Not about VMs and packages. |
Debian commands should work on Ubuntu. If command not found, you can install it. For example "apt-get install aptitude" to use aptitude command.
However, Debian 6.x is old, so some packages may don't exist or have another name on Ubuntu. |
Thanks!
|
Quote:
|
Thanks for your reply!
Maybe I can just double-check what I'm following before actually doing it on Ubuntu? |
While commands are similar. And. Ubuntu is based on Debian somewhat.
File location of certain libs may be different between Ubuntu and Debian. Running Ubuntu large packages blindly on Debian installs breaks Debian for sure. Because of file location mismatch. So even though the commands are similar. Pay attention to what room the furniture gets moved into. example: /usr/bin vs /usr/local/bin. |
Thx! Yes, I understand that caution must be exercised prior to copying commands on Ubuntu PC.
|
I would suspect that Ubuntu would load a number of extra "recommended" packages for each install.
So you might have a few extra packages. Any time from now until a couple of years into the future, this has the potential to cause knock-on dependency problems. This is really unlikely though. :D |
Quote:
Blindly following a set of command line instructions on some random blog on the web without even thinking about what you're running and why is a good way to break your system. |
Thank you for your replies!
Well, LinuxCBT isn't exactly a "random blog on the web" I would hope... |
All times are GMT -5. The time now is 03:44 PM. |