This the first time I use Arduino board. I tried to upload the blink sketch (built-in examples) to a new Arduino Mega 2560 but it didn't work. Mega 2560 is selected at 'Boards' menu but I can't select the serial port because the 'Port' menu is disabled. the Arduino functions normally when connected to USB port of the computer: the green LED is on and pin 13 LED blinks.
I use Arduino 1.6.6 and ubuntu 14.04 (64-bit).
After trying to upload, I get this message:
"avrdude: Version 6.0.1, compiled on Apr 14 2015 at 19:04:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "/home/omar/.local/share/umake/ide/arduino/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/home/omar/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : COM1
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "COM1": No such file or directory
ioctl("TIOCMGET"): Inappropriate ioctl for device
ioctl("TIOCMGET"): Inappropriate ioctl for device
avrdude: ser_send(): write error: Bad file descriptor
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions."
Thank you for help.