tag:blogger.com,1999:blog-7760425276056032223.post4456710530172940631..comments2023-03-19T05:45:18.791-07:00Comments on PLABO: How to know your debian/ubuntu version and architecturePablo Marin-Garciahttp://www.blogger.com/profile/17942399687345864870noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-7760425276056032223.post-38229997163977909432013-05-31T08:16:50.797-07:002013-05-31T08:16:50.797-07:00Thanks. A command for both informations here:
We ...Thanks. A command for both informations here:<br /><br />We can also run ...<br />lscpu<br />… and have a look just to the first 2 lines of the output:<br />“Architecture” informs about the installed Linux version: "i686" represents one of 32 bits, while "x86_64" stands for a 64 bits one.<br />"CPU op-mode(s)" informs about the CPU. "32-bit" represents one of 32 bits, while "32-bit, 64-bit" or "64-bit" stands for a 64 bits one.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7760425276056032223.post-70420278001146148912011-05-06T03:48:56.672-07:002011-05-06T03:48:56.672-07:00Another way to know if the installed Ubuntu is of ...Another way to know if the installed Ubuntu is of 32 or 64 bits:<br />getconf LONG_BITAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7760425276056032223.post-26862512129788592182011-05-06T03:05:51.792-07:002011-05-06T03:05:51.792-07:00Thanks.
To know easier if the installed Ubuntu is...Thanks.<br /><br />To know easier if the installed Ubuntu is of 32 or 64 bits:<br />uname -m<br />If it shows i686 or i386 it means 32 bits.<br />If it shows x86_64 it means 64 bits.<br /><br />If the CPU is of 32 bits Ubuntu must be of 32 bits.<br />If the CPU is of 64 bits it can work in 64 or 32 bits. So we can choose: Ubuntu can be of 32 bits or of 64 bits.<br /><br />To know if the CPU is of 32 or 64 bits:<br />a) grep -w lm /proc/cpuinfo<br />If we see lm in red is of 64 bits. Otherwise is of 32 bits.<br />b) sudo lshw | grep “description: CPU” -A 12 | grep width<br />It says clearly what we want to know.Anonymousnoreply@blogger.com